<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta charset="utf-8" name="viewport" content="width=640,user-scalable=no">
		<title>收获地址管理</title>
		<script type="text/javascript" src="js/vue.js"></script>
		
		<link rel="stylesheet" type="text/css" href="css/收获地址管理.css"/>
	</head>
	<body>
		<div id="app">
			<div id="lxf">
				<div id="lxf_box1">
					<input type="text" id="lxf_ip1" value="" placeholder="收货人" />
				</div>
				<div id="lxf_box2">
					<input type="text" id="lxf_ip2" value="" placeholder="手机号码" />
				</div>
				<div id="lxf_box3">
					<input type="text" id="lxf_ip3" value="" placeholder="地区信息" />
				</div>
				<div id="lxf_box4">
					<input type="text" id="lxf_ip4" value="" placeholder="详细地址" />
				</div>
				<div id="lxf_box5">
					<input type="text" id="lxf_ip5" value="" placeholder="邮政编码" />
				</div>
				<div id="lxf_box6">
					保存
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		window.onload=function()
		{
			var box = document.getElementById('lxf_box6');
			box.onclick=function()
			{
				// window.open("确认订单.html");
				var lxfip1 = document.getElementById('lxf_ip1');
				var lxfip2 = document.getElementById('lxf_ip2');
				var lxfip3 = document.getElementById('lxf_ip3');
				var lxfip4 = document.getElementById('lxf_ip4');
				var lxfip5 = document.getElementById('lxf_ip5');
				// var ip1value = ip1.value;
				localStorage.setItem("aa",lxfip1.value);
				localStorage.setItem("bb",lxfip2.value);
				localStorage.setItem("cc",lxfip3.value);
				localStorage.setItem("dd",lxfip4.value);
				localStorage.setItem("ee",lxfip5.value);
				alert('保存成功！');
			};
			localStorage.clear("aa","bb","cc","dd","ee");
		};
	</script>
</html>
